﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace test2
{
    public partial class Form2 : Form
    {
        public Form2()
        {
            InitializeComponent();
        }

        private void frm2(object sender, FormClosingEventArgs e)
        {
            
        }

        private void btnXacnhan_Click(object sender, EventArgs e)
        {
            //Bientoancuc.bienxy = txtGia.Text;
            ((Form1)this.Owner).Gia(txtGia.Text);
            txtGia.Clear();
            this.Hide();
            Form3 frm3 = new Form3();
            frm3.Owner=this;
            frm3.Show();
        }

        private void Form2_Load(object sender, EventArgs e)
        {
            pictureBox3.Image = Image.FromFile(Bientoancuc.bienxy);
        }

        

            

        
    }
}
